<extend name="layouts/master"/>
<block name="main">
  <div class="w_content">
    <div class="w_carousel">
    <div class="swiper-container" style="height: 160px;">
      <div class="swiper-wrapper ">
        <volist name="lunbo" id="list">
          <header class="hero background-sky swiper-slide">
            <h1 class="hero-title ">{$list['title']}</h1>
            <div class="background-img" ><img src="{$list['logo']}"></div>
          </header>
        </volist>
      </div>
    </div>
    </div>
    <script>
      $( function(){
        var mySwiper = new Swiper( '.swiper-container', {
          freeMode: true,
        } );
      } )
    </script>
    <div style="clear:both"></div>
    <div style="height:20px"></div>
    <div class="w_content_tab">
      <div class="am-container w_article_list">
        <volist name="article" id="list">
        <div class="am-panel am-panel-default">
          <div class="am-panel-bd">
            <h2>{$list['title']}<label class="w_zuozhe">woddp</label></h2>
            <p class="w_abstract">{$list['intro']}</p>
            <div class="w_article_bottom">
              <label><i class="am-icon-tag"></i><label style="    margin-left: 5px; font-weight: 200;    font-size: 14px;">{:W('Category/Name',[$list['category_id']])}</label></label> <label style="margin-left:10px"><i class="am-icon-clock-o"></i><label style="    margin-left: 5px; font-weight: 200;    font-size: 14px;">{$list['create_time']|day=###}</label></label>
              <label style="margin-left:10px"><i class="am-icon-eye"></i><label style="    margin-left: 5px; font-weight: 200;    font-size: 14px;">{$list['click']}</label></label> <a class="w_article_right" href="{:U('Article/view',['id'=>$list['id']])}"> 查看更多>></a></div>
          </div>
        </div>
        </volist>

      </div>
    </div>
  </div>
</block>